Infinity-Peek-At-Inventory names a function, with lambda list (D USER RECIPIENT/S):
Look at other users' inventories
Lisp PEEK-AT-INVENTORY = JSON peekAtInventory
When requesting the inventory of another player, only their public inventory will be returned.
The optional type code is as per TOOTSVILLE INFINITY-GET-INVENTORY-BY-TYPE.
{ who: LOGIN-NAME, [ type: TYPE-CODE ] }
{ who: "user-name" }{ who: "user-name", type: "type-code" }
{ from: "peekAtInventory", status: true, for: USER-NAME, inv: { 0: ITEM-INFO, [ ... ] } }
The user name given was not found.
{ from: "peekAtInventory", status: false, err: "login.notFound", error: "There is no user named LOGIN" }
WRITEME
The type code given was not understood
{ from: "peekAtInventory", status: false, err: "typeCode.notFound", error: "Parameter error: The type code given is not recognized." }
Defined in file src/infinity/legacy-commands.lisp.